/**
 * 菜单权限映射表
 * key: 菜单名称
 * value: 权限码key
 *
 */
const EVENT_DETAIL_PERMISSION_MAP = {
  judgeMenu: {
    editTags: ['event:judge:editTags'],
    video: ['event:judge:video'],
    accept: ['event:judge:accept'],
    tran: ['event:judge:tran'],
    rollback: ['event:judge:rollback'],
    inst: ['event:judge:inst'],
    close: ['event:judge:close'],
  },
  dispatchMenu: {
    editTags: ['event:dispatch:editTags'],
    video: ['event:dispatch:video'],
    accept: ['event:dispatch:accept'],
    tran: ['event:dispatch:tran'],
    rollback: ['event:dispatch:rollback'],
    inst: ['event:dispatch:inst'],
    close: ['event:dispatch:close']
  },
  handleMenu: {
    editTags: ['event:deal:editTags'],
    video: ['event:deal:video'],
    accept: ['event:deal:accept'],
    tran: ['event:deal:tran'],
    rollback: ['event:deal:rollback'],
    inst: ['event:deal:inst'],
    close: ['event:deal:close']
  },
  checkMenu: {
    editTags: ['event:check:editTags'],
    video: ['event:check:video'],
    accept: ['event:check:accept'],
    tran: ['event:check:tran'],
    rollback: ['event:check:rollback'],
    inst: ['event:check:inst'],
    close: ['event:check:close']
  }
}
export function getPermissionMap(menuName) {
  return EVENT_DETAIL_PERMISSION_MAP[menuName]
}
